package cn.iocoder.yudao.framework.business.eligibility.pojo.vo;

import cn.iocoder.yudao.framework.business.eligibility.enums.EligibilityCheckStepEnum;
import cn.iocoder.yudao.framework.validation.InEnumValue;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
public class EligibilityApplyCheckVO<RESP> implements Serializable {

    @Schema(description = "步骤：0-未填写、1-待审核、2-审核不通过、100-加入成功、101-需付费", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @InEnumValue(EligibilityCheckStepEnum.class)
    private Integer step;

    @Schema(description = "提示信息")
    private String tips;

    @Schema(description = "申请资料")
    private RESP info;

    @Schema(description = "套餐信息")
    @JsonProperty("package")
    private EligibilityPackageVO packageValue;

}
